home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / notes.txt < prev    next >
Encoding:
Text File  |  2001-01-02  |  3.2 KB  |  121 lines

  1. prioritize vertical walls?
  2.  
  3. skip surfaces are now completely irrelevent?
  4.  
  5. hint surface on a detail brush is illegal
  6.  
  7. hint brushes and area brushes are just structural-open content?
  8.  
  9. anything with a shader definition is translucent?
  10.  
  11. opaque-structural
  12.  
  13. opaque-detail
  14.  
  15. translucent
  16.  
  17. areaportals are structural
  18.  
  19.  
  20. In copy brush for csg:???
  21.  
  22.         if (newbrush->sides[j].surf & SURF_HINT)
  23.             newbrush->sides[j].visible = true;    // hints are always visible
  24.  
  25.  
  26.  
  27. solid    trans    nodraw
  28. 1        0        0        normal wall
  29. 1        1        0        window
  30. 1        1        1        invisible wall (different than a clip brush, probably bad idea)
  31. 1        0        1        caulk
  32. 0        1        0        vines
  33. 0        1        1        ladders, hints, skips, triggers, player clip brushes, water joints
  34. 0        0        0        illusionary walls that block vis ( solid water boundaries, not a good idea ) 
  35. 0        0        1        triggers that block vis (bad idea)
  36.  
  37.  
  38. All trans brushes are considered detail
  39.  
  40. An "opaque" brush is a brush thats interior will never be seen or contacted.  Q3map is free to completely
  41. remove brushes that are entirely in solid areas.
  42.  
  43. The surfaces of an opaque brush will be drawable unless they have the "nodraw" surface flag.
  44.  
  45. A "detail" brush is a brush that will not chop up the world into more visibility clusters.  All
  46. non-opaque brushes are detail brushes, but opaque brushes may be flagged detail to speed vis times and
  47. reduce cluster count.
  48.  
  49. Detail is a flag set in the editor, not a property of the surfaces of the brush.
  50.  
  51. A "structural" brush is an opaque, non detail brush.
  52.  
  53. The caulk surface is an opaque, nodraw surface that will cause a hall-of-mirrors if seen.
  54.  
  55. visibility, leak testing:  opaque, non-detail brushes, no patches
  56.  
  57. lighting:  all opaque brushes block light, all others pass it
  58.  
  59.  
  60. Opaque brushes are solid to everything, but non-opaque brushes 
  61.  
  62.  
  63. Putting a translucent shader on an opaque brush will result in hall-of-mirrors or overblend visual errors.
  64.  
  65.  
  66.  
  67. all solid
  68. player solid
  69.  
  70.  
  71. First the bsp is constructed with all of the hint faces
  72.  
  73. Then all of the opaque, non-detail brushes are inserted.
  74.  
  75. This defines the clusters used for visibility determination
  76.  
  77. Clusters are either opaque or translucent
  78.  
  79. Flood filling is performed
  80.  
  81. Any brush surfaces that do not face a translucent cluster are removed.
  82.  
  83. All of the remaining brushes and surfaces are inserted into the tree
  84.  
  85. Brush faces that do not face any translucent clusters are removed, but it is possible to have
  86. wasted unseeable faces that are contained in other opaque detail brushes.
  87.  
  88.  
  89.  
  90. G:\quake3\baseq3\maps>q3map -info work_dm2
  91. ---------------------
  92. work_dm2.bsp: 424328
  93.      3 models           144
  94.   1379 brushes        16548
  95.   9454 brushsides     75632
  96.   3314 planes         66280
  97.    189 entdata        13117
  98.  
  99.   4067 nodes         113876
  100.   4071 leafs         113988
  101.   6916 leaffaces      13832
  102.   5393 leafbrushes    10786
  103. ---------------------
  104.  
  105.  
  106. new way ( ugh )
  107. G:\quake3\baseq3\maps>q3map -info work_dm2
  108. ---------------------
  109. work_dm2.bsp: 525152
  110.      3 models           144
  111.   1379 brushes        16548
  112.   9454 brushsides     75632
  113.   3314 planes         66280
  114.    189 entdata        13117
  115.  
  116.   5775 nodes         161700
  117.   5779 leafs         161812
  118.   6599 leaffaces      13198
  119.   8278 leafbrushes    16556
  120. ---------------------
  121.